﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CapturePackage.Model
{
    [SugarTable("imagemigration")]//当和数据库名称不一样可以设置表别名 指定表明
    public class imagemigration
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//数据库是自增才配自增 
        public int Id { get; set; }

        [SugarColumn(IsNullable = true)]
        public int TextMigrationId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(1000)", IsNullable = true)]
        public string ConfluenceImageUrl { get; set; }

        [SugarColumn(ColumnDataType = "varchar(1000)", IsNullable = true)]
        public string AnyShareImageUrl { get; set; }

        [SugarColumn(IsNullable = true)]
        public int? IsMigration { get; set; }

        [SugarColumn(IsNullable = true)]
        public int? IsDelete { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(250)", IsNullable = true)]
        public string AnyShareWikiId { get; set; }

        [SugarColumn(IsNullable = true)]
        public int Retry { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string DateTime { get; set; }
    }
}
